package com.zt.student.service;


import com.zt.common.Do.ClassWithTeachDO;
import com.zt.common.pojo.ActiveClass;
import com.zt.student.dto.ClassScoreDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * description:
 * author:zt
 * date:2021-12-26
 */
public interface ActiveClassService {

    ActiveClass getClassById(int id);

    List<ClassWithTeachDO> getAllActiveClass(String semester, HttpServletRequest request);

    List<ClassWithTeachDO> getOptionalActiveClass(String semester,HttpServletRequest request);

    List<ClassWithTeachDO> getAllSelectedClass(String semester, HttpServletRequest request);

    List<ClassWithTeachDO> getSelectedElectiveClass(String semester,HttpServletRequest request);

    List<ClassWithTeachDO> getSelectedCompulsoryClass(String semester,HttpServletRequest request);

    List<List<ClassWithTeachDO>> getSchedule(String semester,HttpServletRequest request);

    List<ActiveClass> getClassByTeaAndStuId(HttpServletRequest request,String teacherId, String semester);

    List<ClassScoreDTO> getClassScore(HttpServletRequest request, String semester);
}
